class CarCateModelEntity {
	List<CarCateModelData> data;
	int code;
	String msg;

	CarCateModelEntity({this.data, this.code, this.msg});

	CarCateModelEntity.fromJson(Map<String, dynamic> json) {
		if (json['data'] != null) {
			data = new List<CarCateModelData>();
			(json['data']['list'] as List).forEach((v) { data.add(new CarCateModelData.fromJson(v)); });
		}
		code = json['code'];
		msg = json['msg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.data != null) {
      data['data']['list'] = this.data.map((v) => v.toJson()).toList();
    }
		data['code'] = this.code;
		data['msg'] = this.msg;
		return data;
	}
}

class CarCateModelData {
String cat_id;//	汽车服务分类ID
String name	;//	汽车服务分类名称
String icon	;//	汽车服务分类图标
String pid	;//	父级分类ID
String sort	;//	排序


	CarCateModelData({this.cat_id, this.name, this.icon, this.pid,this.sort});

	CarCateModelData.fromJson(Map<String, dynamic> json) {
		cat_id = json['cat_id'];
    name=json['name'];
		icon = json['icon'];
		pid = json['pid'];
    sort = json['sort'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['cat_id'] = this.cat_id;
		data['name'] = this.name;
		data['icon'] = this.icon;
		data['pid'] = this.pid;
    data['sort'] = this.sort;
		return data;
	}
}